#
# Be sure to run `pod lib lint TYGenericServicesSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
    s.name             = 'TYGenericServicesSDK'
    s.version          = '1.3.5.0'
    s.summary          = '基础业务组件'
    s.requires_arc     = true
    s.description      = <<-DESC
  通用网络库
                         DESC
    s.homepage         = 'http://j7.hnxmny.com:8088/plugins/gitiles/iOS-Libraries/BusinessComponents/TYGenericServicesSDK'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'linker' => 'linker@yabotiyu.net' }
    s.source           = { :git => 'http://j7.hnxmny.com:8088/a/iOS-Libraries/BusinessComponents/TYGenericServicesSDK.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    s.ios.deployment_target = '9.0'
    s.public_header_files = 'TYGenericServicesSDK/Classes/Source/TYGenericServiceHeader.h'
    s.source_files = 'TYGenericServicesSDK/Classes/Source/TYGenericServiceHeader.h'
    s.default_subspec = 'Common'
    
    s.subspec 'Common' do |common|
        common.source_files = 'TYGenericServicesSDK/Classes/Source/Common/**/*'
        common.dependency 'YYModel', '~> 1.0.4'
        common.dependency 'TYFoundation'
    end
    s.subspec 'Sports' do |sports|
        sports.source_files = 'TYGenericServicesSDK/Classes/Source/Sports/**/*'
        sports.dependency 'TYGenericServicesSDK/Common'
    end
    
  end